HipInputListener

Undocumented in source.

Constructors

this
this(EventDispatcher dispatcher)
Undocumented in source.

Members

Functions

addKeyboardListener
const(HipButton)* addKeyboardListener(HipKey key, HipInputAction action, HipButtonType type, AutoRemove remove)
Undocumented in source. Be warned that the author may not have intended to support it.
addScrollListener
const(ScrollListener)* addScrollListener(HipScrollAction onScroll, AutoRemove isAutoRemove)
Undocumented in source. Be warned that the author may not have intended to support it.
addTouchListener
const(HipButton)* addTouchListener(HipMouseButton btn, HipInputAction action, HipButtonType type, AutoRemove remove)
Undocumented in source. Be warned that the author may not have intended to support it.
addTouchMoveListener
const(TouchMoveListener)* addTouchMoveListener(HipTouchMoveAction onTouchMove, AutoRemove isAutoRemove)
Undocumented in source. Be warned that the author may not have intended to support it.
clearAll
void clearAll()

Mainly used for the scriptInputListener

removeKeyboardListener
bool removeKeyboardListener(const(HipButton)* button)
Undocumented in source. Be warned that the author may not have intended to support it.
removeScrollListener
bool removeScrollListener(const(ScrollListener)* onScroll)
Undocumented in source. Be warned that the author may not have intended to support it.
removeTouchListener
bool removeTouchListener(const(HipButton)* button)
Undocumented in source. Be warned that the author may not have intended to support it.
removeTouchMoveListener
bool removeTouchMoveListener(const(TouchMoveListener)* onTouchMove)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

keyboard
KeyboardHandler keyboard;
Undocumented in source.
keyboardListeners
HipButton[] keyboardListeners;
Undocumented in source.
mouse
HipMouse mouse;
Undocumented in source.
moveListeners
TouchMoveListener[] moveListeners;
Undocumented in source.
scrollListeners
ScrollListener[] scrollListeners;
Undocumented in source.
touchListeners
HipButton[] touchListeners;
Undocumented in source.

Meta